#ifndef HEART_H
#define HEART_H

#include <QWidget>

class Heart : public QWidget
{
    Q_OBJECT
public:
    explicit Heart(QWidget *parent = nullptr);
protected:
    void paintEvent(QPaintEvent *event);
    void timerEvent(QTimerEvent *);
private:
    float m_t = 0, m_x = 0, m_y = 0;
    int m_k = 10;
};

#endif // HEART_H
